<?php 
/**
 * ReadPress是一个优秀的主题，回归纯粹的博客，文艺、阅读、写作、摄影、展示wordpress主题
 * Gitee：https://gitee.com/MUCEO/readpress/
 * 作者唯一QQ：858896214 （秋知德雨）
 * QQ交流群：917367358
 * 开发者不易，感谢支持，如果使用本主题尽量留个版权或者链接
 */
?>
<div class="footer-box">
    <div class="layui-container  text-rp-content">
        <?php if(_read('rp-footer-link-switch')){ ?>
    <div class="youqing_link">
<?php $bookmarks = get_bookmarks(array('orderby'=>'rand'));
if(!empty($bookmarks)){
foreach($bookmarks as $bookmark){
 $friendimg = $bookmark->link_image;
echo '<a href="'.$bookmark->link_url.'" target="_blank"><span>'.$bookmark->link_name.'</span></a>';
}}?>
    </div>
    <?php } ?>
    </div>
<div id="footer">
    <div class="layui-container  text-rp-content">
        <hr>
        <p class="text-muted">
         Copyright © <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo('name'); ?></a>
        </p>
        <p class="text-muted">
           <?php echo _read('opt-code-dibuzdyhtml'); ?>
        </p>
        <p class="text-muted">
           <script  type="text/javascript"><?php echo _read('opt-code-dibutjs'); ?></script>
        </p>
        <p>
           <?php echo _read('zero-footer-dibubq'); ?>
        </p>
        <p class="text-muted">
            <?php echo _read('zero-footer-ba'); ?>
        </p>
		<p> Powered by <a href="https://cn.wordpress.org/" title="采用WordPress" target="_blank">WordPress</a>
    Theme by <a href="https://gitee.com/MUCEO/readpress/" target="_blank">ReadPress v1.2</a></p>
    </div>
</div>
</div>
<script src="<?php bloginfo('template_url'); ?>/assets/js/jquery-3.5.1.min.js"></script>
<script src="<?php bloginfo('template_url'); ?>/assets/lui/layui.js"></script>
<!--分享-->
<script src="<?php bloginfo('template_url'); ?>/assets/js/sjfx/js/jquery.share.min.js"></script>
<script src="<?php bloginfo('template_url'); ?>/assets/js/main.js"></script>
<!--懒加载-->
<script src="<?php bloginfo('template_url'); ?>/assets/js/lazyload.min.js"></script>
<script>$("img.lazyload").lazyload();$("div.lazyload").lazyload();</script>
<?php wp_footer(); ?>
</body>
</html>